package com.maple.service;

import com.maple.mapper.CustomerMapper;
import com.maple.pojo.Customer;
import com.maple.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CustomerService {
    @Autowired
    CustomerMapper customerMapper;
    public boolean cus(Customer customer){
        int x = customerMapper.insertCustomer(customer);
        if(x>0){
            return true;
        }else {
            return false;
        }
    }
}
